   MoneyBox Custom Component

The Contents lists Help topics available for MoneyBox.  Use the scroll bar to see entries not currently visible in the Help window.

MoneyBox Description

Highlights

Installation

Properties, Events & Methods

Standard Properties

Special Properties

Copyrights & Misc. Information

Copyrights

LICENSE AGREEMENT

How To Order

Order Form

Technical Support


    Highlights

The MoneyBox is a Custom Component designed to facilitate obtaining and formatting currency or numeric data. MoneyBox features an interface similar to a textbox, differing in that characters are entered in a right-to-left fashion automatically.  The control only accepts numeric or related characters. A developer can limit the number of characters that are allowed in the MoneyBox as well as format the data via a Delphi (FormatFloat) compliant Format property. The developer can also specify a negative color value. This ColorNegative property causes the text to be diplayed in a different color when the contents of the control becomes less than zero. The MoneyBox also has a NumericValue property, which returns the value of the control contents. Overall, the MoneyBox was designed to make obtaining currency or numeric data easier and less cumbersome than was possible with some of the more complicated components that exist to date.


      Installation

Disk Contents

File Installation

Help File Installation

Component Installation


    Disk Contents

The MoneyBox distribution disk contains the following files (demo versions may contain fewer or additional components). For electronically distributed versions, the MoneyBox components will  be compressed into a single file:

File Name	Description

MONEYBOX.DCU	The custom component file.

MONEYBOX.DCR	The custom component resource file.

SCS_MBOX.LIC	This file, which should reside in the Windows System directory, contains license information. If the license file cannot be found or is corrupted, the control is loaded in demonstration mode.

MONEYBOX.HLP	On-line help for MoneyBox.

MONEYBOX.KWF	The Moneybox Keywords File.

PROJECT1.EXE	Sample compiled project.

PROJECT1.DPR	Sample project file.

UNIT1.DFM	Sample project file.

UNIT1.PAS	Sample project file.

LICENSE.WRI	License agreement in Windows Write format.

README.WRI	Additional information in Windows Write format.

ORDER.WRI	Order form in Windows Write format.

You are not allowed to distribute the license information file SCS_MBOX.LIC or the MONEYBOX.DCU.


    File Installation

The custom control files MONEYBOX.DCU and MONEYBOX.DCR should be copied to your Delphi Lib directory. Use Options|Install Components to Install the MONEYBOX.DCU Components. (Additional information on installing components can be found in the DELPHI.HLP file.)

The SCS_MBOX.LIC file should be copied to your Windows System directory.

The MONEYBOX.HLP should be copied to your Delphi Help directory.

The MONEYBOX.KFW should be copied to your Delphi Bin directory.


    Standard Properties

See Delphi Help for a description of each of  these standard properties.

BorderStyle CharCase Color ComponentIndex Ctl3D Cursor DragCursor DragMode Enabled Font Height HelpContext HideSelection	Hint Left MaxLenght Name OEMConvert Owner Parent ParentColor ParentCtl3D ParentFont ParentShowHint ReadOnly SelLength	SelStart SelText ShowHint Showing TabOrder TabStop Tag Text Top Visible Width


    Special Properties

Click on a property for a description of its function.

ColorNegative

ColorPositive

Format

NumericValue


Copyrights
Copyright © 1995 Smothers Consulting & Software.  All rights reserved.

This software product is copyrighted, and all rights are reserved by Smothers Consulting & Software. You are licensed to use this software on a restricted number of computers. You may copy the software to facilitate your use of it on as many computers as there are licensed users specified in the SCS_MBOX.LIC file. Making copies for any other purpose violates US and international copyright laws.


LICENSE  AGREEMENT

MoneyBox Custom Component

By using this product, you are agreeing to be bound by the following agreement:

COPYRIGHT:

This software product is copyrighted, and all rights are reserved by Smothers Consulting & Software. You are licensed to use this software on a restricted number of computers. You may copy the software to facilitate your use of it on as many computers as there are licensed users specified in the SCS_MBOX.LIC file. Making copies for any other purpose violates US and international copyright laws.

DISCLAIMER:

This software is sold AS IS without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Smothers Consulting & Software assumes no liability for any alleged or actual damages arising from the use of this software. (Some states do not allow the exclusion of implied warranties, so the exclusion may not apply to you.)

MONEYBOX.DCU:

You have a royalty-free right to compile/link the MONEYBOX.DCU into any application that you develop and distribute.

SCS_MBOX.LIC:

The SCS_MBOX.LIC file allows you to design and compile your applications with the MONEYBOX custom component. You are not  allowed to distribute the SCS_MBOX.LIC file with any application that you develop and distribute.


Order Form
     Click here to print Order Form.

=============================================================

           Smothers Consulting & Software Order Form

=============================================================

Date:        _______________

Name:        ________________________________________________

Address:     ________________________________________________

City/St/Zip: ________________________________________________

Country:     ________________________________________________

Phone:       (night)_________________  (day)_________________

Disk Format: 5.25" floppy ______    3.5" micro-floppy _______

MoneyBox Custom Control 	     _______Copies  @  $19.95

Postage (U.S. only)                         ------->  $2.50

Overseas postage (outside of North America) ------->  $5.00

                                             Total:__________

=============================================================

                    PAYMENT OPTIONS

=============================================================

1. Personal or corporate checks drawn on a US bank are the

   preferred method of payment.

2. If you are ordering from a country other than the US,

   please DO NOT send checks drawn on non-US banks.  Use a

   cashier's check or international money order valued in "US

   DOLLARS".

=============================================================

                         SHIPPING

=============================================================

All orders are shipped within 48 hours after receipt, via

First Class mail.  Overseas orders are customs-tagged and

shipped Air Mail.

If you have a special need or an urgent deadline, please

E-Mail us to make arrangements -- we'll be glad to help.  For

about $10 additional postage we can ship via next-day courier.

=============================================================


   NumericValue Property

Description

Returns a DOUBLE Value to facilitate use in calculations.

Usage

[form.]MoneyBox1.NumericValue

Remarks

NumericValue returns the Double Value of the Text in the MoneyBox.

This property is read-only.

Example:

Displayed in a MoneyBox is  $ 2,562.37

MoneyBox1.NumericValue  returns  2562.37

SalesPrice = MoneyBox1. NumericValue

Data Type

Double


  Format Property

Description

Specifies the format for displaying numbers.

Usage

[form.]MoneyBox1.Format [ = setting$]

Remarks

Format specifies the format that you want the data to be displayed when the MoneyBox loses the input focus. Use in compliance with the Delphi FormatFloat functions conventions.

The following is some sample formats and how the MoneyBox Displays the values.

Format Property*	Positive 6	Negative 6	Decimal .6
Null String	6	-6	.6
0	6	-6	1
#,##0;(#,##0)	6	(6)	1
0.00	6.00	-6.00	0.60
$#,##0.00	$6.00	-$6.00	$0.60
$#,##0.00;($#,##0.00)	$6.00	($6.00)	$0.60

*Note: You can use any Delphi compliant FormatFloat.

Data Type

String


    Technical Support

Technical support may be obtained by sending and E-Mail message to:

Stephen E. Smothers

CompuServe address

74014,3426

Internet address

74014.3426@CompuServe.Com

Please Include your Name, Phone Number, a brief description of your problem and (if applicable) a copy of the code that contains the error.


    How to order MoneyBox

      CompuServe:

MoneyBox is available through the SWREG forum. The ID Number is 6004.

The current version will be shipped to you via E-Mail.

The price for the full version is only $ 19.95 when registering via SWREG

      By Mail:

MoneyBox may be registered by sending a check or money order to:

Smothers Consulting & Software

PO Box 1223

Troy, Alabama 36081

The price when ordering by mail is subject to the price listed in the Orderform.

These prices include shipping and handling.


  ColorNegative Property

Description

Sets the color to be displayed when the numeric value is less than zero.

Usage

[form.]MoneyBox1. ColorNegative [ = color]

Remarks

When the numeric value of the text is less than zero all of the characters in the control will be displayed in the color set by this property.

Data Type

TColor


  ColorPositive Property

Description

Sets the color to be displayed when the numeric value is greater than or equal to zero.

Usage

[form.]MoneyBox1. ColorPositive [ = color]

Remarks

When the numeric value of the text is greater than or equal to zero all of the characters in the control will be displayed in the color set by this property.

Data Type

TColor


    Help File Installation

To install the MoneyBox Help files, you should perform the following steps:

     Install the Keyword File

1. Exit Delphi if it is running

2. Make a backup of \delphi\bin\delphi.hdx

3. Run the HelpInst application from \delphi\help

4. Open \delphi\bin\delphi.hdx

5. If the existing KWF files report "not found" then add \delphi\help to the search path by

selecting Options|Search Path.

6. Select the Keywords|Add File menu choice and select MONEYBOX.KWF from

\delphi\help

7. Select File|Save

8. Exit HelpInst


    Component Installation

To install the MoneyBox Component file, you should perform the following steps:

     Install the Component File

1. Launch Delphi

2. Select Options|Install Components

3. Select Add

4. Enter moneybox

5. Select OK